package com.example.lancooznbk.view.activity;

import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;

import com.example.lancooznbk.R;
import com.example.lancooznbk.view.base.BaseActivity;
import com.example.lancooznbk.view.fragment.FavouriteListFragment;

/**
 * 复习列表
 */
public class FavouriteListActivity extends BaseActivity {


    @Override
    public int attachLayoutRes() {
        return R.layout.activity_favourite_list;
    }

    @Override
    protected void initViews() {
        FragmentManager fm = getSupportFragmentManager();
        FragmentTransaction transaction = fm.beginTransaction();
        transaction.add(R.id.fl_container,new FavouriteListFragment());
        transaction.commit();

    }

    @Override
    protected void updateViews(boolean isRefresh) {

    }
}
